<template>
  <div>
    <div class="title-area">
      <img alt="Vue logo" src="../assets/logo.png" style="max-width:55px;max-height:55px"/>
      <h2>This is how I learn Vue!</h2>
    </div>

    <div class="main-container">
      <Navbar />
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
import Navbar from "../components/utils/Navbar.vue";
export default {
  name: "Index",
  components: {
    Navbar,
  },
};
</script>

<style scoped>
.main-container {
  display: grid;
  grid-template-columns: 1fr 4fr;
}
.title-area {
  display: flex;
  justify-content: space-around;
  background-color: cornsilk;
}
</style>
